package org.jeecg.modules.monitoring.j_monitoring.constantConfig;

import lombok.Getter;

/**
 * 机房Redis枚举
 * @Author: xiaoyq
 * @Date:   2023-01-11
 * @Version: V1.0
 */
@Getter
public enum MonitorStatusEnum {

    online("10", "正常"),
    notMonitored("20", "未监控"),
    offline("30", "离线"),
    warning("40", "有告警");

    /**
     * 关键字
     */
    private String key;

    /**
     * 值
     */
    private String value;

    MonitorStatusEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

}
